<h2><kbd>Change Avatar</kbd></h2><hr />
<?php echo $this->Form->create('Profile', array('class'=>'form-horizontal','inputDefaults'=>array('label'=>false), 'enctype'=>'multipart/form-data'));?>
    <div class="form-group">
        <label class="control-label col-md-2">Upload Avatar</label>
        <div class="col-md-4">
            <?php  echo $this->Form->input('image',array('type'=>'file'))?>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-4 col-md-offset-2">
            <?php echo $this->Form->Submit('Upload',array('class'=>'btn btn-primary'));?>
        </div>
    </div>
    
<?php echo $this->Form->end();?>